package com.itheima.service;

import com.itheima.bean.OrderDetail;

import java.util.List;

public interface OrderDetailService {

    /**
     * 添加菜品详细表
     * @param orderDetail
     * @return
     */
    int insert(OrderDetail orderDetail);

    /**
     * 根据订单 id 查询
     * @param orderId
     * @return
     */
    List<OrderDetail > findByOrderId(Long orderId);

}